//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "common\fn_getInstanceID.sqf"
#include <tmf_constants.h>
#include <tmf_macros.h>

TRACE_1("Start",_this);
TMFPROFILERSTART;

private ["_object","_result"];
_result = TMF_SERVER_INSTANCE_ID;
DEFAULT_PARAM(_object,0,objNull);
_result = OGETVAR(_object,QGVAR(MISSION_INSTANCE_ID),_result);
TRACE_1("End",_result);
TMFPROFILERSTOP;
_result;